<meta charset="UTF-8">
<link rel="stylesheet" href="./demo.css">  
<div class="page1"></div>
<div class="page2"></div>
<script type="module">
    import Page from './demo.js'
    let page1 = new Page('.page1',{
        pageTag: {
            first: '首页',
            prev: '上一页',
            list: null,
            next: '下一页',
            last: '末页',
        },
        pageInfo: {
            pageNum:  97,
            pageSize: 10,
            totalData: 1000,
            totalPage: 100,
        }
    })
    let page2 = new Page('.page2',{
        pageTag: {
            first: 'first',
            prev: 'prev',
            list: null,
            next: 'next',
            last: 'last',
        },
        pageInfo: {
            pageNum:  1,
            pageSize: 10,
            totalData: 1000,
            totalPage: 100,
        }
    });
    console.log(pageNum);
</script>
